﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ImplPatronCommand
{
    public class EditCommand:ICommand
    {
        private IReceiver _receiver;

        public EditCommand(Form ventana)
        {
            _receiver = (IReceiver)ventana;
        }

        public void Execute()
        {
            _receiver.Edit();
        }
    }
}
